Function |from_utf8

std/text/convert/string::|from_utf8


Usage

|from_utf8(encoded)

Parameters

โ†ณ encoded: Vec<byte>

Return

โ†ด string


Converts vector of bytes into a string according to UTF-8 encoding.

If any sequence of bytes doesn't follow UTF-8 encoding, it is replaced by the U+FFFD REPLACEMENT CHARACTER (๏ฟฝ).